<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>POST Params</title>
</head>
<body>
<form method="post" >
    {%csrf_token%}
    <!-- //csrf_token用来验证 -->
  UserName:<input type="text" name="username"/>
    Password:<input type="password" name="password"/>
    <input type="submit" value="Submit">
</form>
</body>
</html>
